<?php if(count($this->_tpl_vars['array']) > 0){ ?>
<?php if (count($this->_tpl_vars['array'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['array']); $list++){?>
<div class="infolist" <?php if($this->powercheck('communicate','bbsmainedit')==true){ ?> ondblClick="javascript:parent.onbotton('<?php echo $this->_tpl_vars['ST']['setedit_botton'] ?>','index.php?archive=bbsmain&action=bbsmainedit&bid=<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'bbsmainedit<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>',self.frameElement.getAttribute('name'));"<?php } ?>>
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td width="3%"><input type="checkbox" name="selectinfoid" value="<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>"></td>
			<td width="7%"><?php echo $this->_tpl_vars['array'][$list]['bid'] ?></td>
			<td width="40%" id="left" class="padding-left3"><?php echo $this->cutstr($this->_tpl_vars['array'][$list]['title'],35) ?></td>
			<td width="15%"><?php echo $this->timeformat($this->_tpl_vars['array'][$list]['addtime'],3) ?></td>
			<td width="5%"><?php echo $this->_tpl_vars['array'][$list]['replynum'] ?></td>
			<td width="5%" id="infotype">
				<table>
					<tr>
						<td><?php if($this->_tpl_vars['array'][$list]['istop']==1){ ?><span class="select_ok"></span><?php }else{ ?><span class="select_no"></span><?php } ?></td>
					</tr>
				</table>
			</td>
			<td width="8%" id="infotype">
				<table>
					<tr>
						<td><?php if($this->_tpl_vars['array'][$list]['isclass']==1){ ?><span class="audit_ok" title="<?php echo $this->_tpl_vars['ST']['article_audit_ok'] ?>"></span><?php }else{ ?><span class="audit_no" title="<?php echo $this->_tpl_vars['ST']['article_audit_no'] ?>"></span><?php } ?></td>
					</tr>
				</table>
			</td>
			<td width="17%" id="infotype">
				<?php if($this->powercheck('communicate','bbsmainedit')==true){ ?>
				<table border="0" style="border-collapse:collapse" bordercolor="#FFFFFF">
					<tr>
						<?php if($this->_tpl_vars['bbstype']['ispage']==1 && $this->_tpl_vars['array'][$list]['upbid']==0 &&  $this->_tpl_vars['array'][$list]['replynum']==0){ ?>
						<td><a class="setedit" id="rebbsedit<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>" onclick="javascript:parent.onbotton('<?php echo $this->_tpl_vars['ST']['forummain_text_replynum'] ?>','index.php?archive=bbsmain&action=bbsmainedit&bid=<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>&type=add&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'rebbsedit<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>',self.frameElement.getAttribute('name'));" href="#body" title="<?php echo $this->_tpl_vars['ST']['forummain_text_replynum'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['forummain_text_replynum'] ?></a></td>
						<?php } ?>
						<td class="padding-left3"><a class="setedit" id="bbsmainedit<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>" onclick="javascript:parent.onbotton('<?php echo $this->_tpl_vars['ST']['setedit_botton'] ?>','index.php?archive=bbsmain&action=bbsmainedit&bid=<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'bbsmainedit<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>',self.frameElement.getAttribute('name'));" href="#body" title="<?php echo $this->_tpl_vars['ST']['setedit_botton'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['setedit_botton'] ?></a></td>
						<?php if($this->_tpl_vars['array'][$list]['replynum']>0){ ?>
						<td class="padding-left3"><a class="setedit2" id="rebbsmanlist<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>" onclick="javascript:parent.onbotton('<?php echo $this->_tpl_vars['ST']['forummain_text_set_title'] ?>','index.php?archive=management&action=list&listfunction=bbsmainlist&btid=<?php echo $this->_tpl_vars['array'][$list]['btid'] ?>&upbid=<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'rebbsmanlist<?php echo $this->_tpl_vars['array'][$list]['bid'] ?>',self.frameElement.getAttribute('name'));" href="#body" title="<?php echo $this->_tpl_vars['ST']['forummain_text_set_title'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['forummain_text_set_title'] ?></a></td>
						<?php } ?>
					</tr>
				</table>
				<?php } ?>
			</td>
		</tr>
	</table>
</div>
<?php }} ?>
<?php }else{ ?>
<div class="infolist">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td align="center"><?php echo $this->_tpl_vars['ST']['list_nothing_title'] ?></td>
		</tr>
	</table>
</div>
<?php } ?>